package edu.wit.system.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;

/**
 * 
 *
 * @author yyh
 * @email 664287382@qq.com
 * @date 2021-05-26 11:45:36
 */
@Getter
@Setter
@ApiModel(value = "流程接受类")
public class AffairsWorkflowVo implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@ApiModelProperty(value = " 长度<19,0>")
	private Long workflowId;
	/**
	 * 
	 */
	@ApiModelProperty(value = " 长度<2>")
//	@NotBlank(message="流程类型不能为空")
	private String workflowType;
	/**
	 * 
	 */
	@ApiModelProperty(value = " 长度<50>")
	@NotBlank(message="流程名称不能为空")
	private String workflowName;
	/**
	 * 
	 */
	@ApiModelProperty(value = " 长度<500>")
	private String workflowRemark;
	/**
	 * 
	 */
	@ApiModelProperty(value = " 长度<2>")
	@NotBlank(message="流程状态不能为空")
	private String workflowStatus;
	/**
	 * 
	 */
	@ApiModelProperty(value = " 长度<19,0>")
//	@NotNull(message="所属学校ID不能为空")
	private Long projectId;

	@ApiModelProperty(value = " 长度<19,0>")
	private String corporation;
	
	/**
	 * 流程节点列表
	 */
	private List<AffairsWorkflowNodeVo> nodeList;

	@Override
	public String toString() {
		return "AffairsWorkflowVo{" +
				"workflowId=" + workflowId +
				", workflowType='" + workflowType + '\'' +
				", workflowName='" + workflowName + '\'' +
				", workflowRemark='" + workflowRemark + '\'' +
				", workflowStatus='" + workflowStatus + '\'' +
				", projectId=" + projectId +
				", nodeList=" + nodeList +
				'}';
	}
}

